First of all, thank you for purchasing the elitecons HTML Template. You can find the detailed information about the template in this document. If there is anything you cannot find in this document, you can send an e-mail via the profile page.
Follow the steps below to setup your site template:
Template folder to find all the template files. You wil get elitecons folder in there. You will need to upload you desire template to your hosting web server using FTP in order to use it on your website.elitecons/assets/css - Stylesheet fileselitecons/assets/fonts - Icon/fonts fileselitecons/assets/images - Image fileselitecons/assets/inc - Contact from fileelitecons/assets/js - Custom js fileselitecons/assets/vendors - All js and css filesWe are used Bootstrap 5 framework in this template.
The general template structure is the same throughout the template. Here is the general structure.
Favicon Will be found in head section.
The Logo will be found in the Theme Main Menu section.
You can replace any .jpg .png .svg logo.
elitecons (elitecons- Template) we use google fonts Yantramanav
You can change both fonts form head section:
You can edit your form simply and quickly. Open sendemail.php in inc folder and change following area
SMTPDebug = 0; //Enable verbose debug output
$mail->isSMTP(); //Send using SMTP
$mail->Host = 'smtp.gmail.com'; //Set the SMTP server to send through
$mail->SMTPAuth = true; //Enable SMTP authentication
$mail->Username = SMTP_EMAIL; //SMTP username
$mail->Password = SMTP_PASSWORD; //SMTP password
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption
$mail->Port = 465; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`
//Recipients
$mail->setFrom(HOST_EMAIL, HOST_NAME);
$mail->addAddress(RECIPIENT_EMAIL, RECIPIENT_NAME); //Add a recipient
//Content
$name = isset($_POST['name']) ? preg_replace("/[^\.\-\' a-zA-Z0-9]/", "", $_POST['name']) : "";
$senderEmail = isset($_POST['email']) ? preg_replace("/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['email']) : "";
$phone = isset($_POST['phone']) ? preg_replace("/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['phone']) : "";
$services = isset($_POST['services']) ? preg_replace("/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['services']) : "";
$subject = isset($_POST['subject']) ? preg_replace("/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['subject']) : "";
$address = isset($_POST['address']) ? preg_replace("/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['address']) : "";
$website = isset($_POST['website']) ? preg_replace("/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['website']) : "";
$message = isset($_POST['message']) ? preg_replace("/(From:|To:|BCC:|CC:|Subject:|Content-Type:)/", "", $_POST['message']) : "";
$mail->isHTML(true); //Set email format to HTML
$mail->Subject = 'A contact request send by ' . $name;
$mail->Body = 'Name: ' . $name . "
";
$mail->Body .= 'Email: ' . $senderEmail . "
";
if ($phone) {
$mail->Body .= 'Phone: ' . $phone . "
";
}
if ($services) {
$mail->Body .= 'services: ' . $services . "
";
}
if ($subject) {
$mail->Body .= 'Subject: ' . $subject . "
";
}
if ($address) {
$mail->Body .= 'Address: ' . $address . "
";
}
if ($website) {
$mail->Body .= 'Website: ' . $website . "
";
}
$mail->Body .= 'message: ' . "
" . $message;
$mail->send();
echo "Thanks for contacting us. We will contact you ASAP!
";
} catch (Exception $e) {
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}
";
}
The style.css file contains all of the specific stylings for the page.
All styles about template
All Js script active here
You can edit your form simply and quickly. Open sonchooy.js in assets/js folder and change following area
// mailchimp form
if ($(".mc-form").length) {
$(".mc-form").each(function () {
var Self = $(this);
var mcURL = Self.data("url");
var mcResp = Self.parent().find(".mc-form__response");
Self.ajaxChimp({
url: mcURL,
callback: function (resp) {
// appending response
mcResp.append(function () {
return '";
});
// making things based on response
if (resp.result === "success") {
// Do stuff
Self.removeClass("errored").addClass("successed");
mcResp.removeClass("errored").addClass("successed");
Self.find("input").val("");
mcResp.find("p").fadeOut(10000);
}
if (resp.result === "error") {
Self.removeClass("successed").addClass("errored");
mcResp.removeClass("successed").addClass("errored");
Self.find("input").val("");
mcResp.find("p").fadeOut(10000);
}
}
});
});
}
Please send us mail starplatetf@gmail.com You will get a reply 24 hours